package com.example.fiction.ui.fragment.books;

import android.databinding.BaseObservable;
import android.databinding.Bindable;


/**
 * 书架书本信息
 * create:2019/3/22 21:36
 * author: 姚鸿杰
 **/
public class BooksItemViewModel extends BaseObservable {

    public String bookId;
    public String bookName;
    public String author;
    public String progress;

    public BooksItemViewModel(String bookId, String bookName, String author, String progress) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.author = author;
        this.progress = progress;
    }

    @Bindable
    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    @Bindable
    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    @Bindable
    public String getProgress() {
        return progress;
    }

    public void setProgress(String progress) {
        this.progress = progress;
    }
}
